package test;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;  
import javax.ws.rs.Path;  
import javax.ws.rs.FormParam;  
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
@Path("/test")  
public class prviHello {

	@POST  
	 @Path("/")  
	 public Response getMsg(@FormParam("ulaz") String ulaz) {  
	   
	  String output = "Hello, " + ulaz;  
	   
	  return Response.status(200).entity(output).build();  
	   
	 }  
}
